package com.igeekhome.wzgl.service.impl;

import com.igeekhome.wzgl.entity.MaterialInboundEntity;
import com.igeekhome.wzgl.entity.MaterialOutboundEntity;
import com.igeekhome.wzgl.mapper.IMaterialOutboundMapper;
import com.igeekhome.wzgl.service.IMaterialOutbound;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MaterialOutboundImpl implements IMaterialOutbound {
    @Autowired
    private IMaterialOutboundMapper iMaterialOutboundMapper;
    @Override
    public List<MaterialOutboundEntity> page() {return iMaterialOutboundMapper.page();}
    @Override
    public int insert(MaterialOutboundEntity mo) {
        return iMaterialOutboundMapper.insert(mo);
    }
    @Override
    public int delete(int id){return iMaterialOutboundMapper.delete(id);}
    @Override
    public int update(MaterialOutboundEntity mo){return iMaterialOutboundMapper.update(mo);}
    @Override
    public List<MaterialOutboundEntity> select(int id){return iMaterialOutboundMapper.select(id);}
    @Override
    public MaterialOutboundEntity getById(int id){return iMaterialOutboundMapper.getById(id);}
}
